# Replication files for: Bridging the Age Gap: The Impact of Age-Specific Priming on Political Interest

**Authors:** Raül Tormos, Carol Galais & Joel Ardiaca 
**Journal:** Political Science Research and Methods (PSRM)

---

## 1. Overview

This Dataverse contains the data and code required to replicate all empirical
results (tables and figures) reported in the manuscript. All analyses can be
reproduced by running the provided scripts without manual intervention.

---

## 2. File Structure

- `raw_data.sav`  
  Original survey data.

- `01_data_cleaning.R`  
  R script that cleans the raw data and produces the analysis dataset.

- `data_survey_clean.rds`  
  Cleaned dataset produced by `01_data_cleaning.R`.

- `02_analysis.qmd`  
  Quarto file that reproduces all tables and figures reported in the manuscript.

- `figures/`  
  Folder containing figures generated by `02_analysis.qmd`.

- `00_run_replication.R`  
  Master script that runs the full replication (data cleaning and analysis).

- `replication.log`  
  Log file showing a successful replication run from start to finish, including
  session information.

---

## 3. Software Requirements

- **R version:** 4.5.0  
- **Quarto CLI:** 1.7.32  

All required R packages are listed with versions in the session information
printed at the end of `replication.log`.

---

## 4. Replication Instructions

To reproduce all results reported in the manuscript:

1. Open R and set the working directory to the folder containing these files.
2. Run the following command:

```r
source("00_run_replication.R")
```

This will:
- Clean the raw data
- Run all analyses
- Reproduce all tables and figures
- Generate the replication.log file

## 5. Notes
All results in the manuscript are reproduced exactly by these files. 
Table contents (estimates, standard errors, and test statistics) are reproduced,
although table formatting may differ from the published version.
